package cn.ecnu.user.service;

import cn.ecnu.user.vo.*;

public interface UserService {


    UserInfoVo loginWithPassword(UsernamePasswordVo vo);

    UserInfoVo loginWithEmail(EmailPasswordVo vo);

    int registerWithUser(RegisterWithUsernameVo vo);

    int deleteUserById(Integer uid);

    int updateUserById(UserInfoVo vo);

    AdminAllUser getAllUsers();


}
